import {configureStore} from '@reduxjs/toolkit';
import appReducer from './features/appSlice';
import counterReducer from './features/counterSlice';
import movieReducer from './features/movieSlice';

const store = configureStore({
  // 合并多个slice
  reducer: {
    app: appReducer,
    counter: counterReducer,
    movie: movieReducer,
  },
});

export default store;
